<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="/static/common/common_header.jsp"/>
<script type="text/javascript" src="/static/js/issuepolicy.js"></script>
<html>
<head>
    <title>缴费处理</title>
</head>
<body>
    <!--初始化列表-->
    <table id="issuepolicy_datagrid"></table>

    <div id="issuepolicy_dialog">
        <form id="issuepolicy_form" method="post">
            <input type="hidden"  name="id" >
            <input type="hidden"  name="policy.id" >
            <table style="margin: 15px">
                <tr style="margin-top: 20px">
                    <td>投保人</td>
                    <td>
                        <input id="cus" type="text" class="easyui-textbox" name="customer.name" readonly>
                    </td>
                </tr>
                <tr>
                    <td>核保单号</td>
                    <td>
                        <input type="text" class="easyui-textbox" name="policy.sn" readonly>
                    </td>
                </tr>
                <tr>
                    <td>保险机构</td>
                    <td>
                        <input type="text" class="easyui-textbox" name="safetymechanism.name" readonly>
                    </td>
                </tr>
                <tr>
                    <td>保险产品</td>
                    <td>
                        <ul id="product_datagrid" class="easyui-datagrid" title="已购产品列表" lines="true"
                            style="width:175px;height:auto">
                        </ul>
                    </td>
                </tr>
                <tr>
                    <td>起保时间</td>
                    <td>
                        <input id="date1" type="text" class="easyui-datebox" required="required" name="beginDate" >
                    </td>
                </tr>
                <tr>
                    <td>止保时间</td>
                    <td>
                        <input id="date2" type="text" class="easyui-datebox" required="required" name="endDate" >
                    </td>
                </tr>
                <tr>
                    <td>保险金额</td>
                    <td>
                        <input type="text" class="easyui-textbox" name="totalAmount" readonly>
                    </td>
                </tr>
                <tr>
                    <td>缴费方式</td>
                    <td>
                        <select id="st" class="easyui-combobox" name="paymentWay" style="width:175px;" data-options="panelHeight:'auto',required:true">
                            <option value="0">现金支付</option>
                            <option value="1">刷卡支付</option>
                            <option value="2">支票支付</option>
                        </select>
                    </td>
                </tr>
            </table>
        </form>
    </div>


    <!--工具栏-->
    <div id="issuepolicy_tabs">
        <input id="keyword" class="easyui-textbox" name="customerName" prompt="客户姓名"/>
        <input id="policySn" class="easyui-textbox" name="policySn" prompt="核保单号"/>
        <a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="doSearch">查询</a>
        <a class="easyui-linkbutton" iconCls="icon-money" plain="true" data-cmd="pay">缴费</a>
    </div>
    <!--底部按钮-->

    <div id="pay_buttons">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-money',plain:true" data-cmd="ok">缴费</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancelIssue">取消</a>
    </div>


</body>
</html>
